<extend name="Public/base" />

<block name="body">
    <h3>查看行为日志</h3>

    <!-- 标签页导航 -->
    <div class="panel-body panel panel-default">
            <!-- 表单 -->
            <form id="form" method="post">
                <!-- 基础 -->
                <div id="tab1" class="tab-pane in tab1">
                    <div class="form-group">
                        <label class="control-label">行为名称</label>
                        <div class="controls">
                            <span>{:get_action($info['action_id'], "title")}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label">执行者</label>
                        <div class="controls">
                            <span>{:get_nickname($info['user_id'])}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label">执行IP</label>
                        <div class="controls">
                            <span>{:long2ip($info['action_ip'])}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label">执行时间</label>
                        <div class="controls">
                            <span>{:date('Y-m-d H:i:s',$info['create_time'])}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label">备注</label>
                        <div class="controls">
                            <label class="textarea input-large">
                                <textarea readonly="readonly">{$info.remark}</textarea>
                            </label>
                        </div>
                    </div>
                </div>

                <!-- 按钮 -->
                <div class="form-group">
                    <label class="control-label"></label>
                    <div class="controls edit_sort_btn">
                        <button class="btn btn-default" onclick="javascript:history.back(-1);
                                                        return false;">返 回</button>
                    </div>
                </div>
            </form>
    </div>
</block>
